package org.dromara.nursing.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.nursing.domain.Visitor;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 访客记录视图对象 ms_visitor
 *
 * @author Xue
 * @date 2025-03-18
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Visitor.class)
public class VisitorVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 访客ID
     */
    @ExcelProperty(value = "访客ID")
    private Long visitorId;

    /**
     * 访客姓名
     */
    @ExcelProperty(value = "访客姓名")
    private String visitorName;

    /**
     * 身份证号
     */
    @ExcelProperty(value = "身份证号")
    private String idCard;

    /**
     * 联系电话
     */
    @ExcelProperty(value = "联系电话")
    private String phone;

    /**
     * 老人姓名
     */
    @ExcelProperty(value = "老人姓名")
    private String elderName;

    /**
     * 与老人关系
     */
    @ExcelProperty(value = "与老人关系")
    private String relationship;

    /**
     * 来访时间
     */
    @ExcelProperty(value = "来访时间")
    private Date visitTime;

    /**
     * 离开时间
     */
    @ExcelProperty(value = "离开时间")
    private Date leaveTime;

    /**
     * 来访目的
     */
    @ExcelProperty(value = "来访目的")
    private String visitPurpose;

    /**
     * 带入物品
     */
    @ExcelProperty(value = "带入物品")
    private String itemsBrought;

    /**
     * 登记人员
     */
    @ExcelProperty(value = "登记人员")
    private String registrationStaff;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remarks;


}
